package com.situ.springboot.mapper;

import com.situ.springboot.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User login(@Param(value = "name") String name,@Param(value = "password") String password);

    List<User> selectByPage();

    int deleteById(Integer id);

    int deleteAll(Integer[] ids);
}
